{extend name="public/base"/}
{block name="style"}
<link rel="stylesheet" type="text/css" href="__PUBLIC__/writer/style/index.css">
{/block}
{block name="body"}
    {include file="public/topmenu" /}
    {include file="public/changepwd" /}
    <div class="mainWrap pageCenter cf">     
        {include file="public/leftmenu" /}
        <div class="mainRight pb260 fl">
            <div class="authorInfoWrap cf">
                <div class="headPhotoBox fl">
                     <span></span> <img src="/public/images/photo_default.png" width="86" height="86">
                </div>
                <div class="authorInfoBox fl ">
                    <h3>{$Think.session.user_auth.uid|get_nickname}           <!-- 增加身份标识"ico-level",silver为白金作家，dashen为大神作家 -->
                                </h3>
                    <p>今天是{$nowtime}，周{$week}，本月您已更新<i class="Num">{$countcalendar}</i>天，共计更新<i class="Num curmonthcount">{$sumcalendar}</i>字</p>
                </div>
                <!-- 码字日历按钮 -->
                <div class="btn-calendar"><a href="javascript:;"><i class="ico-calendar"></i>我的码字日历</a></div>
            </div>
			<div class="midContentWrap">
				<h3 class="title_h3"><span class="icon news"></span>作家新闻</h3>
				<div class="newsListWrap">
					<!-- 新闻列表 -->
					<ul id="newsList"></ul>
				</div>
			</div>
			<div id="pagerBox" class="pageBox fr"></div>

        </div>
    </div>
	<script type="text/javascript" src="/public/writer/js/contentv2_index.js"></script><!-- start 弹窗 -->
	<!-- 码字日历begin -->
	<div class="popupWrap calendar-popup w580">
		<input type="hidden" id="isclick" value="1">
		<a class="icon close-popup J-close" href="javascript:"></a>
		<div class="popupBody calendar-cont">
			<h3 class="calendar-ttl">码字日历</h3>
			
			<!-- 更新字数统计 -->
			<div class="word-count">本月更新 <span class="num curnum">0</span> 字</div>
			
			<!-- 模拟日历点击 -->
			<a class="choose-month prev-month J-prev-month" style="" href="javascript:;"></a>
			<a class="choose-month next-month J-next-month" href="javascript:;"></a>
			<!-- 模拟日历点击 -->	
			<!-- 日历begin -->
			<div id="calendar">
			</div>
			<!-- 日历end -->
			<ul class="tip-bottom">
				<li><i class="dot dot-blue"></i>当天有更新（不含作品相关和作品感言章节）</li>
				<li><i class="dot dot-red"></i>当天未更新</li>
			</ul>
		</div>
	</div>
	<input type="hidden" id="year">
	<input type="hidden" id="month">
	<!-- 码字日历end -->
	<script type="text/javascript">
		$(function(){
			var imgUrl = "https://img1.write.qq.com/writer/p1",
				is_new_editgroup_tip="0",
				//newsid_default_open="",
				isGuide = 0;
			
			CS.page.index.main.init(imgUrl, isGuide,is_new_editgroup_tip);
		});
	</script>

    {include file="public/footer" /}
{/block}
{block name="script"}
{/block}